package com.fjut.service;

import com.fjut.dao.UserDao;
import com.fjut.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("userService")
public class UserServiceImpl implements UserService{
    @Autowired
    @Qualifier("userDao")
    private UserDao userDao;

    public List<User> select(String userName, String userCode) {
        return userDao.getUserList(userName,userCode);
    }
}
